package org.alis.smallcc.designpatterns.behavior.observer.guava;

import com.google.common.eventbus.Subscribe;

public class Student {
	@Subscribe
	public void learn(String notice) {
		System.out.println("今天学习"+notice);
	}
	
	@Subscribe
	public void learn(Object obj) {
		System.out.println("你是个啥"+obj);
	}
	@Subscribe
	public void size(Integer count) {
		System.out.println("总共"+count);
	}
}
